From e0d2710c0985c5913ceb0e058c773c7236627f5a Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 20 May 2011 09:44:41 +0100 Subject: [PATCH] Remove unused var from acpi_idle_do_entry(). Signed-off-by: Keir Fraser --- xen/arch/x86/acpi/cpu_idle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xen/arch/x86/acpi/cpu_idle.c b/xen/arch/x86/acpi/cpu_idle.c index 15e1c00cd7..064d235e95 100644 --- a/xen/arch/x86/acpi/cpu_idle.c +++ b/xen/arch/x86/acpi/cpu_idle.c @@ -273,8 +273,6 @@ static void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cx) static void acpi_idle_do_entry(struct acpi_processor_cx *cx) { - int unused; - switch ( cx->entry_method ) { case ACPI_CSTATE_EM_FFH: @@ -287,7 +285,7 @@ static void acpi_idle_do_entry(struct acpi_processor_cx *cx) /* Dummy wait op - must do something useless after P_LVL2 read because chipsets cannot guarantee that STPCLK# signal gets asserted in time to freeze execution properly. */ - unused = inl(pmtmr_ioport); + inl(pmtmr_ioport); return; case ACPI_CSTATE_EM_HALT: safe_halt(); -- 2.30.2